import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { subNavList } from './store/sub.js';
import { registerApp } from './util/index.js';

// 子应用注册的位置是位于我们整个vue实例创建之前我们就先将子应用注册好
registerApp( subNavList ); // 注册子应用

createApp(App).use(router()).mount('#micro_web_main_app')
